﻿using Abp.Application.Services.Dto;
using System;
using System.Collections.Generic;
using System.Text;

namespace Camc.Quality.Dto.TableDto
{
    public class TableBaseDto : FullAuditedEntityDto<Guid>
    {

        #region 基础元素
        /// <summary>
        /// 序号
        /// </summary>
        public virtual int SerialNum { get; set; }
        /// <summary>
        /// 工步ID
        /// </summary>
        public virtual Guid WorkStepEntityId { get; set; }
        /// <summary>
        /// 工序ID
        /// </summary>
        public virtual Guid ProcessesEntityId { get; set; }
        /// <summary>
        /// 排序
        /// </summary>
        public virtual int Sort { get; set; }
        /// <summary>
        /// 部门
        /// </summary>
        public virtual string Deptment { get; set; }
        #endregion

        //#region 检测签署
        //#region 操作者1
        ///// <summary>
        ///// 操作者1值
        ///// </summary>
        //public virtual string FirstOperator { get; set; }
        //#endregion

        //#region 操作者1时间
        ///// <summary>
        ///// 操作者1值
        ///// </summary>
        //public virtual DateTime? FirstOperatorData { get; set; }
        //#endregion

        //#region 操作者2
        ///// <summary>
        ///// 操作者2值
        ///// </summary>
        //public virtual string SecondOperator { get; set; }
        //#endregion

        //#region 操作者2时间
        ///// <summary>
        ///// 操作者2值
        ///// </summary>
        //public virtual DateTime? SecondOperatorData { get; set; }
        //#endregion

        //#region 操作者3
        ///// <summary>
        ///// 操作者3值
        ///// </summary>
        //public virtual string ThirdOperator { get; set; }
        //#endregion

        //#region 操作者3时间
        ///// <summary>
        ///// 操作者3值
        ///// </summary>
        //public virtual DateTime? ThirdOperatorData { get; set; }
        //#endregion

        //#region 操作者4
        ///// <summary>
        ///// 操作者4值
        ///// </summary>
        //public virtual string FourthOperator { get; set; }
        //#endregion

        //#region 操作者4时间
        ///// <summary>
        ///// 操作者4值
        ///// </summary>
        //public virtual DateTime? FourthOperatorData { get; set; }
        //#endregion

        //#region 操作者5
        ///// <summary>
        ///// 操作者1值
        ///// </summary>
        //public virtual string FifthOperator { get; set; }
        //#endregion

        //#region 操作者5时间
        ///// <summary>
        ///// 操作者5值
        ///// </summary>
        //public virtual DateTime? FifthOperatorData { get; set; }
        //#endregion
        //#endregion

        /// <summary>
        /// 是否检测签署
        /// </summary>
        public bool IsInspect { get; set; }

        #region 记录要求
        #region 记录位置
        /// <summary>
        /// 记录位置值
        /// </summary>
        public string RecordLocation { get; set; }
        #endregion

        #region 记录状态
        /// <summary>
        /// 记录状态值
        /// </summary>
        public string RecordStatus { get; set; }
        #endregion

        #region 记录要求
        /// <summary>
        /// 记录要求值
        /// </summary>
        public string RecordRequire { get; set; }
        #endregion

        #region 记录要点
        /// <summary>
        /// 记录要点值
        /// </summary>
        public string RecordMainopoint { get; set; }
        #endregion

        #region 设计要求
        /// <summary>
        /// 设计要求值
        /// </summary>
        public string DesignerDemand { get; set; }
        #endregion

        #region 工艺要求
        /// <summary>
        /// 工艺要求值
        /// </summary>
        public string ProcessorDemand { get; set; }
        #endregion

        #region 备注
        /// <summary>
        /// 备注值
        /// </summary>
        public string Remarks { get; set; }
        #endregion
        #endregion

        ///// <summary>
        ///// 记录要求
        ///// </summary>
        //public RecordRequirementsDto RecordRequirementsEntity { get;  set; }

        #region 多媒体
        #region 照相（摄像）编号
        public virtual string PhotoNoStart { get; set; }
        /// <summary>
        /// 所属部段值
        /// </summary>
        public virtual string PhotoNo { get; set; }
        #endregion

        #region 照相（摄像）编号2
        /// <summary>
        /// 所属部段值
        /// </summary>
        public virtual string SecondPhotoNo { get; set; }
        #endregion

        #region 照相（摄像）编号3
        /// <summary>
        /// 所属部段值
        /// </summary>
        public virtual string ThirdPhotoNo { get; set; }
        #endregion

        #region 照相（摄像）编号4
        /// <summary>
        /// 所属部段值
        /// </summary>
        public virtual string FourthPhotoNo { get; set; }
        #endregion


        ///// <summary>
        ///// 照相（摄像）编号
        ///// </summary>
        //public virtual string PhotoNo { get; set; }
        #endregion

        ///// <summary>
        ///// 多媒体
        ///// </summary>
        //public MultiMediaDto MultiMediaEntity { get;  set; }

        #region 实测结果表
        #region 实测值1
        /// <summary>
        /// 实测值1
        /// </summary>
        public virtual string FirstMeasuredValues { get; set; }
        #endregion

        #region E4实测值2
        /// <summary>
        /// 实测值2
        /// </summary>
        public virtual string SecondMeasuredValues { get; set; }
        #endregion

        #region E5实测值3
        /// <summary>
        /// 实测值3
        /// </summary>
        public virtual string ThirdMeasuredValues { get; set; }
        #endregion

        #region E6实测值4
        /// <summary>
        /// 实测值4
        /// </summary>
        public virtual string FourthMeasuredValues { get; set; }
        #endregion

        #region E2确认结果1
        /// <summary>
        /// 确认结果值
        /// </summary>
        public virtual string FirstConfirmResult { get; set; }
        #endregion

        #region E7确认结果2
        /// <summary>
        /// 确认结果值
        /// </summary>
        public virtual string SecondConfirmResult { get; set; }
        #endregion

        #region E8确认结果3
        /// <summary>
        /// 确认结果值
        /// </summary>
        public virtual string ThirdConfirmResult { get; set; }
        #endregion

        #region E3实测情况
        /// <summary>
        /// 实测情况值
        /// </summary>
        public virtual string MeasuredActual { get; set; }
        /// <summary>
        /// 实测情况列名
        /// </summary>
        public virtual string MeasuredActual_DisplayName { get; set; }
        /// <summary>
        /// 是否可操作
        /// </summary>
        public virtual bool MeasuredActual_Enable { get; set; } = false;
        /// <summary>
        /// 是否显示
        /// </summary>
        public virtual bool MeasuredActual_Show { get; set; } = false;
        /// <summary>
        /// 是否合并
        /// </summary>
        public virtual int MeasuredActual_Property { get; set; } = 0;
        #endregion


        //#region 实测值1
        ///// <summary>
        ///// 实测值1
        ///// </summary>
        //public virtual string FirstMeasuredValues { get; set; }
        //#endregion

        //#region 实测值2
        ///// <summary>
        ///// 实测值2
        ///// </summary>
        //public virtual string SecondMeasuredValues { get; set; }
        //#endregion

        //#region 实测值3
        ///// <summary>
        ///// 实测值3
        ///// </summary>
        //public virtual string ThirdMeasuredValues { get; set; }
        //#endregion

        //#region 实测值4
        ///// <summary>
        ///// 实测值4
        ///// </summary>
        //public virtual string FourthMeasuredValues { get; set; }
        //#endregion

        //#region 确认结果
        ///// <summary>
        ///// 确认结果值
        ///// </summary>
        //public virtual string ConfirmResult { get; set; }
        //#endregion

        //#region 实测情况
        ///// <summary>
        ///// 实测情况值
        ///// </summary>
        //public virtual string MeasuredActual { get; set; }
        //#endregion

        #endregion

        ///// <summary>
        ///// 实测结果表
        ///// </summary>
        //public MeasuredResultDto MeasuredResultEntity { get;  set; }

        #region 环境要素
        #region 温度
        /// <summary>
        /// 温度值
        /// </summary>
        public virtual string Temperature { get; set; }
        #endregion

        #region 湿度
        /// <summary>
        /// 湿度值
        /// </summary>
        public virtual string Humidity { get; set; }
        #endregion

        #region 大气压力
        /// <summary>
        /// 大气压力值
        /// </summary>
        public virtual string AtmPressure { get; set; }
        #endregion
        #endregion

        ///// <summary>
        ///// 环境要素
        ///// </summary>
        //public EnvironmentDto EnvironmentEntity { get;  set; }

        #region 所属部段图号
        /// <summary>
        /// 所属部段值
        /// </summary>
        public virtual string ParentProductNum { get; set; }
        #endregion

        #region 所属部段名称
        /// <summary>
        /// 部段名称值
        /// </summary>
        public virtual string ParentProductName { get; set; }
        #endregion

        #region 零件1图号/代号
        /// <summary>
        /// 图号值
        /// </summary>
        public virtual string FisrtDrawingNum { get; set; }
        #endregion

        #region 零件1名称
        /// <summary>
        /// 零件1名称值
        /// </summary>
        public virtual string FirstDrawingName { get; set; }
        #endregion

        #region 零件2图号/代号
        /// <summary>
        /// 图号值
        /// </summary>
        public virtual string SecondDrawingNum { get; set; }
        #endregion

        #region 零件2名称
        /// <summary>
        /// 名称值
        /// </summary>
        public virtual string SecondDrawingName { get; set; }
        #endregion

        #region 产品编号
        /// <summary>
        /// 产品编号值
        /// </summary>
        public virtual string ProductNum { get; set; }
        #endregion

        #region 所属型号
        /// <summary>
        /// 所属型号值
        /// </summary>
        public virtual string Model { get; set; }
        #endregion

        #region 记录项目
        /// <summary>
        /// 记录项目值
        /// </summary>
        public virtual string RecordElement { get; set; }
        #endregion

        #region 记录元素
        /// <summary>
        /// 记录元素值
        /// </summary>
        public virtual string RecordItem { get; set; }
        #endregion

        #region 所用工具编号
        /// <summary>
        /// 所用工具编号值
        /// </summary>
        public virtual string ToolUsed { get; set; }

        public virtual string SecondToolUsed { get; set; }

        public virtual string ThirdToolUsed { get; set; }
        #endregion

        #region 现场异常记录
        /// <summary>
        /// 现场异常记录值
        /// </summary>
        public virtual string AbnormalRecord { get; set; }
        #endregion

        #region 合格证号
        /// <summary>
        /// 合格证号值
        /// </summary>
        public virtual string Certificate { get; set; }
        #endregion

        /// <summary>
        /// 参数代号
        /// </summary>
        public virtual string ParamCode { get; set; }

    }
}
